package com.jkc.xh.network.models;

/**
 * Created by wangjie28 on 2015/12/1.
 */
public class SoftVersionResponse {
    public String version;
    public String name;
    public String downurl;
    public String remark;
    public int is_force;
    public Long create_time;

    /**
     * 是否强制升级
     *
     * @return true 强制升级
     */
    public boolean isForceUpdate() {
        return is_force == 1;
    }

    /**
     *
     * {
     "version":"版本号，例如:v1.0",
     "clienttype":"客户端版本，例如:ios/android",
     "downurl":"下载地址",
     "remark":"版本说明",
     "is_force":"是否强制升级，0=否，1=是",
     "create_time":"版本发布时间"
     }
     */
}
